﻿Public Class ConnectionString

    Public Property Host As String
    Public Property UserName As String
    Public Property Password As String
    Public Property Database As String

    Public Sub New(ByVal inHost As String, ByVal inUsername As String, ByVal inPassword As String, ByVal inDatabase As String)
        Host = inHost
        UserName = inUsername
        Password = inPassword
        Database = inDatabase
    End Sub

    Public Shadows ReadOnly Property ToString As String
        Get
            Return String.Format("Host={0}; Username={1}; Password={2}; Database={3}", Host, UserName, Password, Database)
        End Get
    End Property


End Class
